﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace News.CYT369.Com.Domains
{
    public class DocumentComment : BaseObject<long>
    {
        /// <summary>
        /// 内容ID
        /// </summary>
        public long DocID { get; set; }
        
        /// <summary>
        /// 内容发布人员ID
        /// </summary>
        public long DocUserID { get; set; }

        /// <summary>
        /// 评论内容
        /// </summary>
        public string Content { get; set; }
        
        /// <summary>
        /// 评论人员ID
        /// </summary>
        public long CommentUserID { get; set; }

        /// <summary>
        /// 评论人员姓名
        /// </summary>
        public string NickName { get; set; }
        
        /// <summary>
        /// 评论人员
        /// </summary>
        public string FullName { get; set; }

        #region audit
        /// <summary>
        /// 是否审核通过: 0-未进行审核，1-通过审核，2-未通过审核
        /// </summary>
        public int AuditStatusID { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public long? AuditUserID { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? AuditTime { get; set; }
        
        /// <summary>
        /// 是否展示
        /// </summary>
        public bool IsShow { get; set; }
        #endregion

        /// <summary>
        /// 评论时间
        /// </summary>
        public DateTime ChangedTime { get; set; }

    }
}
